﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Controls;
using TableTop.Presentation.Pages;

namespace TableTop.Presentation
{
    internal class ApplicationPagesContainer
    {
        internal bool HaveParent
        {
            get;
            private set;
        }

        internal HomePage Home
        {
            get;
            private set;
        }

        internal CharactersSheetsBookcase SheetsBookcase
        {
            get;
            private set;
        }

        internal CharacterSheetEditorPage SheetsEditor
        {
            get;
            private set;
        }

        public ApplicationPagesContainer()
        {
            this.HaveParent = false;

            this.Home = new HomePage();
            this.SheetsBookcase = new CharactersSheetsBookcase();
            this.SheetsEditor = new CharacterSheetEditorPage();
        }

        public ApplicationPagesContainer(ApplicationPagesContainer Parent)
        {
            this.HaveParent = true;

            this.Home = Parent.Home;
            this.SheetsBookcase = Parent.SheetsBookcase;
            this.SheetsEditor = Parent.SheetsEditor;
        }
    }
}
